@import "structure";
@import "common";

.section {
    position: relative;
    .section-title {
        //position: absolute;
        //top: 60px;
        //width: 100%;
        //text-align: center;
    }
}

.container-inner {
    margin: 0 auto;
    text-align: center;
    color: white;
    overflow: hidden;

    .section-inner {
        margin: 0 auto;

        @media screen and (min-width: 920px) {
            width: 920px;
        }

        @media screen and (min-width: 1200px) {
            width: 1200px;
        }

    }

    .title {
        display: inline-block;
        padding: 80px 20px 50px;
        line-height: 2;
    }

    .caption {
        font-size: 16px;
        text-align: left;
        line-height: 1.4;

        span {
            color: #888;
        }
    }

    h4 {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    h3 {
        margin: 20px 0 40px;
    }

    .fullscreen .caption {
        position: absolute;
        top: 35%;
        width: 100%;
        text-align: center;

        h1 {
            font-size: 52px;
        }

        p {
            line-height: 5;
            font-size: 24px;
        }

    }

    .heatguide {
        li {
            float: left;
            padding: 8px 10px;
            margin: 0 5px;
            border-radius: 2px;
            color: #fff;
            cursor: pointer;
            line-height: 1;

            &.active {
                background-color: #1f86ed;
            }
        }
    }

    .market-caption {
        font-size: 14px;
        color: #aaa;
        text-align: left;
    }

    .tech-in-out-caption {
        position: absolute;
        top: 3%;
        right: 15%;
    }

    .years-data {
        //height: 727px;

        h3 {
            //margin-bottom: 30px;
        }

        .areas-caption {
            position: absolute;
            left: 25%;
            font-size: 14px;
            color: #ddd;
        }
    }

    .years-gartner {
        position: relative;
        height: 550px;

        .caption {
            margin-top: 30px;
            padding-left: 50px;
            text-align: left;
            font-size: 16px;
            line-height: 2;

            .left {
                position: absolute;
                top: 54px;
                left: 8%;
                color: #888;
                span {
                    color: white;
                }
            }
            .right {
                position: absolute;
                top: 60px;
                padding: 8px;
                right: 5%;
                width: 220px;
                background-color: #eb6100;
                border-radius: 4px;
                color: white;

                a {
                    color: #3262d0;
                    text-decoration: underline;
                }
            }

        }
    }

    .market-compare {
        .dropdown-container {
            height: 360px;
            .icon {
                position: relative;
                top: 7px;
                width: 32px;
                height: 32px;
            }
        }

        .dropdown-left-trigger {
            cursor: pointer;
            position: absolute;
            top: 50%;
            right: 20px;
            margin-top: -.5em;
        }
        .dropdown-right-trigger {
            cursor: pointer;
            position: absolute;
            top: 50%;
            left: 20px;
            margin-top: -.5em;
        }

        .dropdown {
            bottom: 0;
            height: 72%;
            overflow-y: scroll;
            position: absolute;
            width: 100px;
            border: #888 1px solid;
            border-radius: 2px;
            background: rgba(255, 255, 255, .06);
            z-index: 99;

            &.dropdown-left {
                position: absolute;
                left: -20px;
                top: 13%;
            }

            &.dropdown-right {
                position: absolute;
                right: -20px;
                top: 13%;
            }

            li {
                cursor: pointer;
                padding: 5px;
                width: 100%;
                font-size: 16px;

                &.active {
                    background: white;
                    color: #212121;
                }
            }
        }

        & + .caption {
            padding-top: 14px;
            font-size: 14px;
            line-height: 1.6;
            color: #aaa;
        }

        #marketCompareBar {
            height: 360px;
        }
    }

    .gartner-caption {
        padding-top: 54px;
        padding-left: 4%;
        text-align: left;
    }

    .trade-gartner-container {
        position: relative;
        @media (min-width: 1200px) {
            padding: 0 10%;
        }

        .trade-gartner-background {
            background: url('/images/gartner_bg.png') no-repeat 50% 50%;
            background-size: 100% 100%;
        }

        #tradeGartnerFunction {
            margin: 0 auto;
            width: 100%;
        }

        .trade-gartner-caption {
            position: absolute;
            bottom: -30px;

            li {
                display: block;
                width: 18%;
                float: left;
                padding-left: 1%;
                padding-right: 1%;

                p {
                    //text-align: left;
                }
            }
        }
    }

    .multi-funtion-container {
        .caption {
            position: absolute;
            top: 80px;
            left: 10%;

            .circle {
                display: block;
                float: left;
                margin-top: 3px;
                margin-right: 2px;
                height: 16px;
                width: 16px;
                border-radius: 10px;
                border: 1px solid #eee;
            }

            ul {
                float: left;
                margin-left: 20px;
            }

            li {
                margin-bottom: 6px;
                color: #ccc;
                cursor: pointer;

                &.active {
                    color: #fff;

                    .circle {
                        color: #fff;
                        background-color: #1f86ed;
                    }
                }
            }
        }
    }
}

.customer {

    &-text {
        position: absolute;
        top: -60px;
        left: -50px;
        color: #fff;
        width: 100px;
        text-align: center;
    }

    &-wrapper {
        display: block;
        position: fixed;
        top: 0;
        right: 100px;
        width: 0;
        height: 0;
        border: 50px solid #1f86ed;
        border-top: 80px solid #1f86ed;
        border-bottom: 20px solid transparent;
        z-index: 1000;
        cursor: pointer;
        transition: opacity 1s;

        @media (max-width: 768px) {
            & {
                right: 100px;
            }
        }
    }

    &-front {

    }

    &-back {
        opacity: 0;
        border-color: #f7b52d;
        border-bottom-color: transparent;

        .customer-text {
            top: -78px;
            line-height: 1.4;
        }
    }

    &:hover {
        .customer-front {
            opacity: 0;
        }

        .customer-back {
            opacity: 1;
        }
    }
}
